﻿using System.Web.Optimization;

namespace FoodEx
{
    public class BundleConfig
    {
        // For more information on Bundling, visit http://go.microsoft.com/fwlink/?LinkId=254725
        public static void RegisterBundles(BundleCollection bundles)
        {
            //JS
            bundles.Add(new ScriptBundle("~/bundles/js/jquery").Include(
                        "~/Scripts/jquery-{version}.js"));

            bundles.Add(new ScriptBundle("~/bundles/js/jqueryui").Include(
                        "~/Scripts/jquery-ui-{version}.js"));

            bundles.Add(new ScriptBundle("~/bundles/js/jqueryval").Include(
                        "~/Scripts/jquery.unobtrusive*",
                        "~/Scripts/jquery.validate*"));

            bundles.Add(new ScriptBundle("~/bundles/js/knockout").Include(
                        "~/Scripts/knockout-{version}.js"));

            bundles.Add(new ScriptBundle("~/bundles/js/bootstrap").Include(
                        "~/Scripts/bootstrap.js"));

            //CSS
            //bundles.Add(new StyleBundle("~/Content/css").Include("~/Content/site.css"));
            //bundles.Add(new StyleBundle("~/Content/bootstrap/css"));


            bundles.Add(new StyleBundle("~/bundles/css/bootstrap").Include(
                   "~/Content/css/bootstrap.css",
                   "~/Content/css/bootstrap-padding-top.css",
                   "~/Content/css/bootstrap-responsive.css"));
        }
    }
}